<%@ page contentType="text/html; charset=UTF-8" %>
<%@ page language="java" %>

<%@ taglib uri="/WEB-INF/tags/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/tags/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/tags/struts-logic.tld" prefix="logic" %>

<html>
<head>
    <title>registration</title>
</head>
<body>
<logic:present name="error" scope="session">
    <b><font color="red"><bean:write name="error" scope="session"/></font></b><br/>
    <%session.setAttribute("error", null);%>
</logic:present>
Registration:
<html:form action="/registration">
    email:<html:text property="email"/><br>
    password:<html:password property="password"/><br>
    re-type password:<html:password property="password2"/><br>
    имя:<html:text property="name"/><br>
    контактная информация:<html:textarea rows="5" cols="100" property="contactInfo"/><br>
    <html:submit value="register"/>
</html:form>

<%--google analytics--%>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-6896361-1");
pageTracker._trackPageview();
} catch(err) {}
</script>

</body>
</html>